Implement fields JSON parsers
Code refactoring