simplify json unmarshaling for eggs methods
big refactoring - split one file into multiple files, each one per api section