PHP generator: in jsonSerialize, only skip maps with non-scalar keys

Previously skipped maps with enum or non-base-type keys. This fixes the original patch in THRIFT-2894.