fix errors in certain dimension images (ex 3 vs 4px) and add option to return data as objects instead of strings