Adding preliminary MOSHApi with JSON parsing.