Filter json object by key in java.