Fixed returning incorrect package specification

Fixed returning incorrect package specification

See #35 
Reggie-server returned incorrect json for packages with 'dist' field in package.json