Fixed error during json parsing.