Promise resolvers resolve an object with several properties

fixes #1