trim whitespace
refactor MockReader json load