Edited package to match forked repository
Made it possible to provide a mapper function so the attribute name can be different than the file name