Addd decode_details() from @raszpl