added decoded_content method

This is very adhoc patch, but it's wokrs :)