[fix] fix the library resolve for the binary parser and add the required modules to the json