Update Parser to make it PSR-2 compliant

renamed private method parseJSON to parseJson to simplify and to better extend parseStrongTypedValue