make sure custom_data elem in dict works
Merge pull request #91 from denibertovic/custom_data

make sure custom_data elem in dict works