[bugfix] compiler: fix error for invalid JSON
Bump version to v1.0.2