Extract JSON parsing to lib