rename asJson => parseJson, fixes #89