fix pkg json
working basic parser