[OCaml] Return an error on invalid JSON format
[OCaml] Achievements module